package com.example.isoftservice.pojos;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;


@AllArgsConstructor
@NoArgsConstructor
@Component
@Data

public class Stock {
  private Integer stockId;//备货计划订单编号
  private Integer dealerId;//经销商编码

  public String getProductModelNumber() {
    return productModelNumber;
  }

  public void setProductModelNumber(String productModelNumber) {
    this.productModelNumber = productModelNumber;
  }

  private Integer addressId;//区域
  private Integer productId;//产品编码
  private String productModelNumber;//产品型号
  private Integer usrId;//制单人
  private Integer orderReviewerId;//订单审核人
  private Integer orderStatus;//订单状态 默认0:已提交1:已审核,2:已取消
  private Integer totalQuantity;//总数量
  private Date submitDate;//提交备货计划日期
  private String dealerName;//经销商名称
  private Double totalAmount;//总金额   通过产品编号获取的金额*数量
  private Double totalVolume;//总体积  通过产品编号获取的体积*数量
  private Date todate;
  private Date fromdate;
  private Integer page;
  private Integer rows;
  private String addressName;     //区域名称
  private String categoryName;     //大类名称
  private String productName;        //;产品名称
  private String usrName;
  private String orderReviewerName;//审核人
  private  Integer[] stockIds;
  private  Integer count;
  public Integer getStockId() {
    return stockId;
  }

  public void setStockId(Integer stockId) {
    this.stockId = stockId;
  }

  public Integer getDealerId() {
    return dealerId;
  }

  public void setDealerId(Integer dealerId) {
    this.dealerId = dealerId;
  }

  public Integer getAddressId() {
    return addressId;
  }

  public void setAddressId(Integer addressId) {
    this.addressId = addressId;
  }

  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }

  public Integer getUsrId() {
    return usrId;
  }

  public void setUsrId(Integer usrId) {
    this.usrId = usrId;
  }

  public Integer getOrderReviewerId() {
    return orderReviewerId;
  }

  public void setOrderReviewerId(Integer orderReviewerId) {
    this.orderReviewerId = orderReviewerId;
  }

  public Integer getOrderStatus() {
    return orderStatus;
  }

  public void setOrderStatus(Integer orderStatus) {
    this.orderStatus = orderStatus;
  }

  public Integer getTotalQuantity() {
    return totalQuantity;
  }

  public void setTotalQuantity(Integer totalQuantity) {
    this.totalQuantity = totalQuantity;
  }

  public Date getSubmitDate() {
    return submitDate;
  }

  public void setSubmitDate(Date submitDate) {
    this.submitDate = submitDate;
  }

  public String getDealerName() {
    return dealerName;
  }

  public void setDealerName(String dealerName) {
    this.dealerName = dealerName;
  }

  public Double getTotalAmount() {
    return totalAmount;
  }

  public void setTotalAmount(Double totalAmount) {
    this.totalAmount = totalAmount;
  }

  public Double getTotalVolume() {
    return totalVolume;
  }

  public void setTotalVolume(Double totalVolume) {
    this.totalVolume = totalVolume;
  }

  public Date getTodate() {
    return todate;
  }

  public void setTodate(Date todate) {
    this.todate = todate;
  }

  public Date getFromdate() {
    return fromdate;
  }

  public void setFromdate(Date fromdate) {
    this.fromdate = fromdate;
  }

  public Integer getPage() {
    return page;
  }

  public void setPage(Integer page) {
    this.page = page;
  }

  public Integer getRows() {
    return rows;
  }

  public void setRows(Integer rows) {
    this.rows = rows;
  }

  public String getAddressName() {
    return addressName;
  }

  public void setAddressName(String addressName) {
    this.addressName = addressName;
  }

  public String getCategoryName() {
    return categoryName;
  }

  public void setCategoryName(String categoryName) {
    this.categoryName = categoryName;
  }

  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }

  public String getUsrName() {
    return usrName;
  }

  public void setUsrName(String usrName) {
    this.usrName = usrName;
  }

  public String getOrderReviewerName() {
    return orderReviewerName;
  }

  public void setOrderReviewerName(String orderReviewerName) {
    this.orderReviewerName = orderReviewerName;
  }
}
